package com.huawei.java.main;

public class EdgeNode {
    private String name;
    private int totalBW;

    public EdgeNode(String name, int totalBW) {
        this.name = name;
        this.totalBW = totalBW;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getTotalBW() {
        return totalBW;
    }

    public void setTotalBW(int totalBW) {
        this.totalBW = totalBW;
    }

    @Override
    public String toString() {
        return "EdgeNode{" +
                "name='" + name + '\'' +
                ", totalBW=" + totalBW +
                '}';
    }
}
